package com.af.system.exception;

/**
 * @author : zhenyun.su
 * @Comment: 用于视图请求的异常
 * @since : 2018/9/13
 */

@Deprecated
public class AfViewException extends AfException {
    public AfViewException() {
        super();
    }

    public AfViewException(String message) {
        super(message);
    }

    public AfViewException(Integer code, String message) {
        super(code,message, null);
    }
    public AfViewException(Integer code, String message, Object data) {
        super(code,message, data);
    }

    public static void throwException(Integer code, String message) throws AfViewException {
        throw new AfViewException(code, message);
    }
    public static void throwException(Integer code, String message, Object data) throws AfViewException {
        throw new AfViewException(code, message, data);
    }
}
